package com.movitech.mobile.cz.base.purchase.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.movitech.mobile.cz.base.modules.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;
/**
 * <p>
 * 供应商与附件的关联表
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-04-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("w_flow_form_supplier_attach")
@ApiModel
public class WFlowFormSupplierAttach extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;
    /**
     * 流程表单主表id
     */
    @ApiModelProperty(value = "流程表单主表id")
    @TableField("flow_form_id")
    private String flowFormId;
    /**
     * 用户或供应商id
     */
    @ApiModelProperty(value = "用户或供应商id")
    @TableField("user_id")
    private String userId;
    /**
     * 附件id
     */
    @ApiModelProperty(value = "附件id")
    @TableField("attachment_id")
    private String attachmentId;
    /**
     * 下载时间
     */
    @ApiModelProperty(value = "下载时间")
    @TableField("download_time")
    private Date downloadTime;


}
